package org.example.mapper;

import org.example.pojo.OrderBean;

/**
 * ClassName: OrderBeanMapper
 * Package: org.example.mapper
 * Description:
 *
 * @Author wanghao
 * @Create 2024-06-29 16:03
 * @Version 1.0
 */
public interface OrderBeanMapper {

    OrderBean getOrderBean(Integer id);

    OrderBean getOrderBeanWithCustomer(Integer id);

    //OGNI风格实现对一关联
    OrderBean getOrderBeanWithCustomer2(Integer id);

    // 分步查询实现对一关联
    OrderBean getOrderBeanWithCustomer3(Integer id);

}
